package com.youyun56.gps.android.common;

import java.util.List;
import java.util.Vector;

import com.youyun56.gps.android.pojo.GoodInfo;

public class MoveableList extends Vector<GoodInfo> {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 670736485649597486L;

	public synchronized void moveAllTo(List<GoodInfo> list) {
		if(list != null) {
			list.addAll(this);
			clear();
		}
	}

}
